﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DFGK_WMS.Model.Models.BBS;

namespace DFGK.IService.BBS
{
    public interface IBBS_AreaService
    {
        List<BBS_Area> GetPageData(string areaName, out int totalCount, int pageIndex = 1, int pageSize = 50);
        bool SubmitArea(BBS_Area area, out string errorMsg);
        bool DelArea(long areaId, out string errorMsg);
        BBS_Area? GetArea(long areaId);
    }
}
